package WinterVacation.Day3;

public class Num1 {
    public static void main(String[] args) {
        double hight = 100.0;
        double sum = 0.0;
        for (int i = 0; i < 10; i++) {
            sum += (hight + hight) / 2.0;
            hight = hight / 2.0;
        }
        System.out.println("总共经过" + sum);

    }

}
